<template>
    <div>
        <h1>父组件-----{{ message }}</h1>
        <hr />
        <slotSubcomponent>
            
        </slotSubcomponent>
    </div>
</template>

<script setup>
import slotubcomponent from "./slotSubcomponent.vue";
const message = "这是组件的自定义内容";
</script>

<style lang="scss" scoped>

</style>